<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #box {
      position: relative;
      margin: 100px auto;
      width: 450px;
      height: 300px;
      border: 10px solid #ccc;
      /* overflow: hidden; */
    }

    #box ul {
      position: absolute;
      left: 0;
      top: 0;
      width: 1800px;
      height: 300px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    #box ul li {
      float: left;
    }
    #box ul li img {
      width: 450px;
      height: 300px;
    }

    .left,
    .right {
      position: absolute;
      display: none;
      top: 45%;
      width: 22px;
      height: 32px;
      background-color: rgba(0, 0, 0, .5);
      background-position: center;
      background-repeat: no-repeat;
      cursor: pointer;
    }

    .left {
      left: 0;
      background-image: url('./img/arrow-prev.png');
    }
    .right {
      right: 0;
      background-image: url('./img/arrow-next.png');
    }

    .round {
      position: absolute;
      left: 20px;
      bottom: 10px;
      background-color: rgba(0, 0, 0, .7);
      padding: 5px 0;
      border-radius: 5px;
      overflow: hidden;
    }
    .round span{
      float: left;
      margin: 0 10px;
      width: 10px;
      height: 10px;
      background-color: #fff;
      border-radius: 50%;
      cursor: pointer;
    }
    .round .active {
      background-color: pink;
    }
  </style>
</head>
<body>
  <div id="box">
    <ul>
      <li>
        <img src="./img/focus.jpg" alt="">
      </li>
      <li>
        <img src="./img/focus1.jpg" alt="">
      </li>
      <li>
        <img src="./img/focus2.jpg" alt="">
      </li>
    </ul>

    <div class="left"></div>
    <div class="right"></div>
    <div class="round">
    </div>
  </div>

  <script src="./animate.js"></script>
  <script src="./01-js.js"></script>
</body>
</html>